<template>
    <div class="common-layout">
        <el-container>
            <el-header style="background-color: blueviolet; height: 35px;">
                <span style="color: aliceblue; font-size: 15px;">爱吃兔溯源管理</span>
            </el-header>
            <el-container>
                <el-aside width="200px">
                    <el-col :span="18">
                        <el-menu active-text-color="#ffd04b" background-color="#545c64" class="el-menu-vertical-demo"
                            default-active="2" text-color="#fff" router>
                            <el-menu-item index="/traceability">
                                <el-icon style="color:aliceblue;">
                                    <Grid />
                                </el-icon>
                                <span>溯源管理</span>
                            </el-menu-item>
                            <el-menu-item index="/slaughter">
                                <el-icon>
                                    <document />
                                </el-icon>
                                <span>详情信息</span>
                            </el-menu-item>
                        </el-menu>
                    </el-col>
                </el-aside>
                <el-main>
                    <RouterView />
                </el-main>
            </el-container>
        </el-container>
    </div>
</template>
